package com.example.nutritionmanager.ai

import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import androidx.navigation.compose.rememberNavController
import com.example.nutritionmanager.AIScreen
import com.example.nutritionmanager.ui.theme.NutritionManagerTheme

// 用于表示一条消息
data class Message(var text: String, val isUser: Boolean)

@Preview(showBackground = true)
@Composable
fun DefaultPreview() {
    NutritionManagerTheme {
        val navController = rememberNavController()
        AIScreen(navController = navController)
    }
}